import request from '@/utils/request'

// 查询学生缴费信息列表
export function listPaymentStudent(examApplicationId) {
  return request({
    url: '/student/paymentStudent/list/' + examApplicationId,
    method: 'get',
  })
}

// 查询学生缴费信息详细
export function getPaymentStudent(id) {
  return request({
    url: '/student/paymentStudent/' + id,
    method: 'get'
  })
}

// 新增学生缴费信息
export function addPaymentStudent(data) {
  return request({
    url: '/student/paymentStudent',
    method: 'post',
    data: data
  })
}

// 修改学生缴费信息
export function updatePaymentStudent(data) {
  return request({
    url: '/student/paymentStudent',
    method: 'put',
    data: data
  })
}

// 删除学生缴费信息
export function delPaymentStudent(id) {
  return request({
    url: '/student/paymentStudent/' + id,
    method: 'delete'
  })
}
